package com.gaotai.wangfei.exam.system.entity;

/**
 * 
 * <p>
 * Description: [描述学生与爱好的关系类]
 * </p>
 * 
 * @author <a href="mailto: wangfei@gaotai.cn">王飞</a>
 * @version $Revision$
 */
public class StudentHobbyRelation
{
	private Long id;//主键

	private Long hobbyId;//爱好的主键

	private Long studentId;//学生的主键

	//属性相对应的getter和setter
	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getHobbyId()
	{
		return hobbyId;
	}

	public void setHobbyId(Long hobbyId)
	{
		this.hobbyId = hobbyId;
	}

	public Long getStudentId()
	{
		return studentId;
	}

	public void setStudentId(Long studentId)
	{
		this.studentId = studentId;
	}

	//学生爱好关系类的构造函数
	public StudentHobbyRelation()
	{
		super();
	}

	public StudentHobbyRelation(Long id, Long hobbyId, Long studentId)
	{
		super();
		this.id = id;
		this.hobbyId = hobbyId;
		this.studentId = studentId;
	}

}
